.PHONY:all
all:dict_server dict_client


dict_server:dict_server.cpp
	g++ -o $@ $^ -std=c++14 -I../third_part/muduo/include   -L../third_part/muduo/lib -lmuduo_net -lmuduo_base -lpthread

dict_client:dict_client.cpp
	g++ -o $@ $^ -std=c++14 -I../third_part/muduo/include   -L../third_part/muduo/lib -lmuduo_net -lmuduo_base -lpthread
.PHONY:clean
clean:
	rm -f dict_server dict_client